package com.erp.erp_entitys.ProductBoxGauge;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ProductBoxGauge {
    private Integer id;

    private String productCode;

    private String specificationCode;

    private String containerCode;

    private String containerName;

    private Integer boxNum;

    private BigDecimal boxGrossWeight;

    private BigDecimal boxNetWeight;

    private BigDecimal boxNumPallet;

    private BigDecimal numPallet;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode == null ? null : specificationCode.trim();
    }

    public String getContainerCode() {
        return containerCode;
    }

    public void setContainerCode(String containerCode) {
        this.containerCode = containerCode == null ? null : containerCode.trim();
    }

    public String getContainerName() {
        return containerName;
    }

    public void setContainerName(String containerName) {
        this.containerName = containerName == null ? null : containerName.trim();
    }

    public Integer getBoxNum() {
        return boxNum;
    }

    public void setBoxNum(Integer boxNum) {
        this.boxNum = boxNum;
    }

    public BigDecimal getBoxGrossWeight() {
        return boxGrossWeight;
    }

    public void setBoxGrossWeight(BigDecimal boxGrossWeight) {
        this.boxGrossWeight = boxGrossWeight;
    }

    public BigDecimal getBoxNetWeight() {
        return boxNetWeight;
    }

    public void setBoxNetWeight(BigDecimal boxNetWeight) {
        this.boxNetWeight = boxNetWeight;
    }

    public BigDecimal getBoxNumPallet() {
        return boxNumPallet;
    }

    public void setBoxNumPallet(BigDecimal boxNumPallet) {
        this.boxNumPallet = boxNumPallet;
    }

    public BigDecimal getNumPallet() {
        return numPallet;
    }

    public void setNumPallet(BigDecimal numPallet) {
        this.numPallet = numPallet;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}